<?php

namespace app\admin\controller;

use think\Controller;

class Core extends Controller
{


    /**
     * 检查登录
     */
    public function check_login(){

        $uid = session('admin.id');
        if(!$uid){
            //没有登录
            $this->redirect('Index/login');
        }

    }

}
